<div class="layui-body">
	<div class="aright">
	<div class="arz cl"><a href="{:url('man/article/addanswer',['nid'=>$map['nid']])}"><i class="layui-icon">&#xe608;</i>添加结果</a></div>
	<form method="post" class="aform cl" >
	<table width="100%">
	      <tr>

			<th width="5%" align="center">标志</th>
	        <th width="10%" align="center">问题标题</th>
			<th width="5%" align="center">值范围</th>
			<th width="70%" align="center">内容</th>

	        <th width="10%" align="center">基本操作</th>
	      </tr>
	      {volist name="item" id="vo"}
		  <tr>
			<td align="center">{$vo.rbiao}</td>
	        <td align="center">{$vo.rtitle|msubstr=0,30,'utf8',false}</a></td>
			<td align="center">{$vo.rfanwei}</td>
			<td align="center" style="font-size:10px;line-height:20px;">{$vo.rcontent}</td>
	        <td align="center"><a href="{:url('man/article/editanswer',['id'=>$vo['id'],'nid'=>$map['nid']])}">【编 辑】</a> | <a onclick="deleted({$vo.id});">删除</a>
	        </td>
	      </tr>
	      {/volist}
	 </table>

	  </form>
	 		<div class="pages">
 				 
	 	 	</div>
	</div>
	</div>
</div>
<script>
layui.use('layer',function(){
	var layer = layui.layer;
})
function deleted(aid){
	$.post("{:url('man/article/delete')}",{'aid':aid,'type':3},function(data){
		if(data){
			layer.msg("删除成功");
			setTimeout(function(){
				window.location.reload();
			},1000);
			
		}
	})
}
</script>